package com.joey.cloud.psn.business.mapper;

import com.joey.cloud.psn.business.entity.SysGroup;
import com.joey.cloud.psn.business.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限信息 Mapper 接口
 * </p>
 *
 * @author Joey
 * @since 2021-03-19
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> queryListByGroupList(List<SysGroup> groupList);

    List<SysRole> queryListByPsnId(Long psnId);
}
